<?php

class User_Model_DbTable_Rules extends Zend_Db_Table_Abstract
{

    protected $_name = 'rules';

    protected $_referenceMap    = array(
        'Role' => array(
            'columns'       => 'role_id',
            'refTableClass' => 'User_Model_DbTable_Roles',
            'refColumns'    => 'role_id'
        ),
        'Action' => array(
            'columns'       => 'action_id',
            'refTableClass' => 'User_Model_DbTable_Actions',
            'refColumns'    => 'action_id'
        ),
        'Resource' => array(
            'columns'       => 'resource_id',
            'refTableClass' => 'User_Model_DbTable_Resources',
            'refColumns'    => 'resource_id'
        ),
    );

}

